package com.aaa.ssm.dao;

import com.aaa.ssm.entity.Factory;

import java.util.List;

public interface FactoryDao {
    List<Factory> queryByParam(Factory factory);
    Factory queryById(Integer factoryId);
    int add(Factory factory);
    int update(Factory factory);
    int delete(Integer factoryId);
}
